﻿using NGourd.Core.Features;

namespace NGourd.Google.Features
{
    class Search : Feature
    {
        public Search()
        {
            Scenario("Normal Search")
                .Given("I am at the home page")
                .When("I enter \"wolfbyte\" into the search box")
                .And("I click go")
                .Then("I should see a link to http://wolfbyte-net.blogspot.com");

            Scenario("Weather Search")
                .Given("I am at the home page")
                .When("I enter \"weather perth\" into the search box")
                .And("I click go")
                .Then("I should see \"Weather for Perth WA, Australia\"");
        }
    }
}
